-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(collector): fix dns collector limited to 63 chars #1690
Conversation
4924334
to
7c1ec40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some really minor nits on the wording in tests, change LGTM otherwise
pkg/collect/host_network_test.go
Outdated
@@ -44,8 +44,13 @@ func Test_isValidLoadBalancerAddress(t *testing.T) { | |||
want: false, | |||
}, | |||
{ | |||
name: "Too many characters", | |||
name: "Too many characters less than 255", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this testing for? The name needs to be really clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch. I have updated those test names
pkg/collect/host_network_test.go
Outdated
want: true, | ||
}, | ||
{ | ||
name: "Too many characters bigger than 255", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's name this something more clear for what we're testing
Description, Motivation and Context
sc-115977
Checklist
Does this PR introduce a breaking change?